﻿using Abp.Domain.Entities.Auditing;
using Choucius.Boilerplate9.Enum;
using System;

namespace Choucius.Boilerplate9.PlasticContainers
{
    public class PlasticContainer : FullAuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// RFID标签上面打印显示的SN
        /// </summary>
        public string RFID { get; set; }

        /// <summary>
        /// TID 区(TID)：存由标签生产厂商设定的 ID 号，目前有4字和8字两种ID号。可读，不可写。
        /// </summary>
        public string TID { get; set; }

        /// <summary>
        /// EPC 区(EPC)：存EPC号的区域，本读写器规定最大能存放15字EPC号。可读可写。
        /// </summary>
        public string EPC { get; set; }

        /// <summary>
        /// 物流状态
        /// </summary>
        public LabelStatus Status { get; set;}

        /// <summary>
        /// 需涂油
        /// </summary>
        public bool NeedInunction { get; set; } = false;

        /// <summary>
        /// 吸塑盒名称
        /// </summary>
        public string PlasticContainerName { get; set; }

        /// <summary>
        /// 当前流转状态中的生产机台号（上料工站）ID（MES提供）
        /// </summary>
        public int WorkStationId { get; set; }

        /// <summary>
        /// 当前流转状态中所存放的胶框
        /// </summary>
        public string RubberFrameId { get; set; }
    }
}
